Atum\Inc\Hooks D

Total Complexity 132
Dependencies 10
Dependents 3
Total lines 1,263
Lines of code 521
Logical lines of code 291
Comment lines 455
Methods 41
Properties 4

Methods 41

Method Rating Maintainability Complexity Lines of code
set_wc_products_list_stock_status()
A
40 15 55
duplicate_product()
A
41 11 52
maybe_change_out_stock_threshold()
S
53 6 22
wc_order_add_location_column_value()
S
55 6 20
check_url_protocol()
S
55 6 20
save_order_items_props()
S
56 6 17
save_added_order_items_props()
S
57 6 16
add_to_cart_message()
S
53 5 18
record_out_of_stock_date()
S
58 5 16
enqueue_scripts()
S
49 4 29
rebuild_stock_status_on_oost_changes()
S
62 5 11
maybe_change_variation_stock_status()
S
58 4 16
search_orders_by_sku()
S
52 3 26
register_global_hooks()
S
52 3 23
register_admin_hooks()
S
53 2 21
before_delete_order_item()
S
66 3 8
stock_quantity_input_atts()
S
70 3 6
get_instance()
S
70 3 6
plugin_row_meta()
S
59 2 12
stock_decimals()
S
61 2 11
after_delete_order_item()
S
66 2 8
maybe_save_order_items_props()
S
71 2 6
before_delete_product()
S
68 2 7
save_variation_atum_data()
S
71 2 6
__construct()
S
73 2 6
maybe_save_paid_date()
S
66 2 9
get_simple_product_types()
S
71 2 6
get_custom_out_stock_threshold()
S
79 2 3
prevent_item_stock_changing()
S
69 2 7
set_dropdown_autocomplete()
S
70 2 6
round_stock_quantity()
S
67 2 8
wc_orders_min_qty()
S
62 1 14
__clone()
S
78 1 3
remove_stock_status_threshold()
S
79 1 3
allow_product_caching()
S
80 1 3
check_stock_status_set()
S
81 1 3
add_stock_status_threshold()
S
78 1 3
delete_transients()
S
82 1 3
wc_order_add_location_column_header()
S
75 1 5
remove_order_comment()
S
75 1 4
__sleep()
S
78 1 3